{% extends 'home/public/base.html' %}
{% block 'links' %}
<div class="container clearfix">
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <div class="layout-header-logo navbar-left">
              <a target="_blank" href="./index.html" class="layout-header-logo-link" alt="魅族科技">
                <img src="/static/home/public/img/logo.png">
              </a>
          </div>
          <ul class="nav navbar-nav navbar-right layout-header-service clearfix">
            <li class="layout-header-service-item" id="layoutHeaderUser">
           
                <a class="layout-header-service-link g-user" href="{% url 'member' %}">
                  <i class="glyphicon glyphicon-user"></i>
                </a>
            
                <div class="layout-user-downmenu">
                  <ul class="layout-user-downmenu-list">
                    
                    <li class="layout-user-downmenu-item">
                      <a href="{% url 'register' %}" target="_blank" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_register">立即注册</a>
                    </li>
                    <li class="layout-user-downmenu-item">
                      <a href="{% url 'myorder' %}" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_myorder">我的订单</a>
                    </li>
                    
                  </ul>
                </div>

            </li>
            <li class="layout-header-service-item layout-header-service-cart" id="layoutHeaderCart">
                <a class="layout-header-service-link" href="{% url 'cartindex' %}" data-mtype="wmz_public_yt_cart">
                    <i class="glyphicon glyphicon-shopping-cart"></i>
                    <span class="layout-header-service-cart-num">0</span>
                </a>
            </li>
          </ul>
          <ul class="nav navbar-nav navbar-right layout-header-nav clearfix">
            <li class="layout-header-nav-item">
              <a href="{% url 'index' %}" class="layout-header-nav-link">魅族商城 </a><p class="line-top hidden-xs"></p>
            </li>
            {% for v in typelist %}

            <li class="layout-header-nav-item">
              <a href="{% url 'lists' v.id %}" class="layout-header-nav-link">{{ v.name }}</a>
            </li>

            {% endfor %}

            <li class="layout-header-nav-item"><a href="#" class="layout-header-nav-link">社区</a></li>                          
          </ul> 

        </div>

         <!-- /.navbar-collapse -->
      </div>
   
{% endblock %}